<script type="text/template" id="profile_avatar_template">
  <input type="hidden" name="avatar" value="{{pic}}">
  <img src="{{pic}}">
</script>